package com.microservices.yucloud.appweb.enums;

import com.baomidou.mybatisplus.core.enums.IEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author zy
 * @date 2019-09-24 19:33
 **/
@AllArgsConstructor
@Getter
public enum UserSexEnum implements IEnum<Integer> {

    //
    MAN(1, "男"),
    //
    WOMAN(2, "女");

    private int value;
    private String desc;

    @Override
    public Integer getValue() {
        return value;
    }
}
